

import _ from 'lodash'
import test1 from './script/test.js'
// import Vue1 from './script/vue.js'


// let Vue = require('./script/vue.js')

import vue from 'vue'

window.test = test1;

window.Vue = vue;

import './css/index.css'


function component() {
    let element = document.createElement('div');

    // Lodash, currently included via a script, is required for this line to work
    // Lodash, now imported by this script
    // let add = testAdd(1,2)

    let vm = test1(1,2);

    let vm1 = new  Vue;

    element.innerHTML = _.join(['Hello §12345667 ', ' webpack'], vm);

    return element;
}

document.body.appendChild(component());
let add = test1(1,2);
console.log(add);


